package com.abysscore.yachtdesign;

public class TFreeMarker extends TFreeSpline {
	 private boolean FVisible;
	 private TFreeShip FOwner;
	 
	 
	 private boolean FGetSelected() {
		return false;
	}
	 private void FSetSelected(boolean val) {
	}
  
	 
	 public void Clear() {
	}    //                                                    override;
	 public int DistanceToCursor(int X,int Y, TFreeViewport Viewport) {
		return 0;
	}
	 public void Delete() {
	}
	 public void Draw(TFreeViewport Viewport) {
	}                //                 override;
	 public void LoadBinary(TFreeFileBuffer Source) {
		 boolean sel=false;

		 Source.Load(FVisible);
		 if (Owner().FileVersion().compareTo(TFreeFileVersion.fv260)>=0)
		 {
			 Source.Load(sel);
			 if (sel)
				 Owner().SelectedMarkers().AddSorted(this);
		 }
		 super.LoadBinary(Source);
	}          //                 override;
	 public void SaveBinary(TFreeFileBuffer Destination) {
	}     //                 override;

	 
	 public TFreeShip Owner() { return FOwner; }
	 public void Owner(TFreeShip val) { FOwner=val; }
	 
	 public boolean Selected() { return FGetSelected(); }
	 public void Selected(boolean val) { FSetSelected(val); }
	 public boolean Visible() { return FVisible; }
	 public void Visible(boolean val) { FVisible = val; }
}
